INCLUDES= $(all_includes)
METASOURCES = AUTO

kde_module_LTLIBRARIES = tastymenu_panelapplet.la

tastymenu_panelapplet_la_SOURCES = tastymenu.cpp menu.ui menuhandler.cpp \
				dmctl.cpp dmctl.h tastylistview.cpp misc.cpp misc.h appearance.ui prefs.kcfgc \
			behaviour.ui tastytooltip.cpp tastytooltipwidget.ui tastybutton.cpp
tastymenu_panelapplet_la_LDFLAGS = -version-info 0:0:0 -module $(KDE_PLUGIN) $(all_libraries)
tastymenu_panelapplet_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO)

tastymenu_DATA = tastymenu.desktop
tastymenudir = $(kde_datadir)/kicker/applets
kde_kcfg_DATA = tastymenu.kcfg

EXTRA_DIST = pics

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/tastymenu.pot
noinst_HEADERS = menuhandler.h tastylistview.h tastytooltip.h buttons.h \
	tastybutton.h
